package com.kele.model.entity;

import java.io.Serializable;
import java.util.List;

/**
 * @Description:
 * @Author: Kele
 * @CreateDate: 2022/8/4 17:58
 * @Version:
 */
public class Doctor implements Serializable {
    private int id; // 主键

    private String name;// 医生姓名

    private String hisId;// HIS系统唯一识别码

    private List<Section> sections;


    public Doctor() {
    }

    public Doctor(int id, String name, String hisId, List<Section> sections) {
        this.id = id;
        this.name = name;
        this.hisId = hisId;
        this.sections = sections;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHisId() {
        return hisId;
    }

    public void setHisId(String hisId) {
        this.hisId = hisId;
    }

    public List<Section> getSections() {
        return sections;
    }

    public void setSections(List<Section> sections) {
        this.sections = sections;
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", hisId='" + hisId + '\'' +
                ", sections=" + sections +
                '}';
    }
}
